﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace MyTcpIp.configuration
{
    /// <summary>
    /// 三向加速度测点配置
    /// </summary>
    /// 
    [StructLayoutAttribute(LayoutKind.Sequential, Pack = 4)]
    public struct TriAccTestPointCon
    {
        /// <summary>
        /// 测点使能
        /// </summary>
        public char enable;
        /// <summary>
        /// 测点名称
        /// </summary>
        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 128)]
        public char[] TestpointName;
        /// <summary>
        /// 测点X轴ID
        /// </summary>                  
        public UInt16 TestPointXChannelID;
        /// <summary>
        /// 测点Y轴ID
        /// </summary>
        public UInt16 TestPointYChannelID;

        /// <summary>
        /// 测点Z轴ID
        /// </summary>
        public UInt16 TestPointZChannelID;					
    }
}
